import instance from '@/utils/request'
export function loginApi (data) {
  return instance({
    url: '/sys/login',
    method: 'POST',
    data
  })
}
export function getInfoApi () {
  return instance({
    url: '/sys/profile',
    method: 'POST'
  })
}
export function getUserInfoApi (id) {
  return instance({
    url: `/sys/user/${id}`
  })
}
export function logoutApi () {}
